package com.luoyuanxiangvip.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.luoyuanxiangvip.core.entity.SysTemplate;
import com.luoyuanxiangvip.common.enums.TemplateKeyEnum;

/**
 * <p>
 *
 * </p>
 *
 * @author luoyuanxiang <p>luoyuanxiangvip.com</p>
 * @since 2019/6/15
 */
public interface ISysTemplateService extends IService<SysTemplate> {
    /**
     * 根据模板获取
     * @param tmNewComment key
     * @return SysTemplate
     */
    SysTemplate getTemplate(TemplateKeyEnum tmNewComment);
}
